import { Component } from '@angular/core';

import { SettingPage } from '../setting/setting'
import { TotalPage } from '../total/total';
import { SynchPage } from "../synch/synch";
import { HomePage } from '../home/home';

@Component({
  templateUrl: 'tabs.html'
})
export class TabsPage {
  tabRoots: Object[];

  constructor() {
    this.tabRoots = [
      {
        root: HomePage,
        tabTitle: '主页',
        tabIcon: 'home'
      },
      /* {
        root: TotalPage,
        tabTitle: '统计',
        tabIcon: 'stats'
      }, */
      {
        root: SettingPage,
        tabTitle: '设置',
        tabIcon: 'settings'
      }
    ];
  }
}
